net/http.response.req (field)
20 uses
net/http (current package)
server.go#L377: if cw.res.req.Method == "HEAD" {
server.go#L425: req *Request // request for this response
server.go#L1050: req: req,
server.go#L1169: writeStatusLine(w.conn.bufw, w.req.ProtoAtLeast(1, 1), code, w.statusBuf[:])
server.go#L1262: isHEAD := w.req.Method == "HEAD"
server.go#L1345: } else if !w.req.ProtoAtLeast(1, 1) || w.wantsClose {
server.go#L1365: if ecr, ok := w.req.Body.(*expectContinueReader); ok && !ecr.sawEOF.Load() {
server.go#L1376: if w.req.ContentLength != 0 && !w.closeAfterReply && !w.fullDuplex {
server.go#L1379: switch bdy := w.req.Body.(type) {
server.go#L1462: if w.req.Method == "HEAD" || !bodyAllowedForStatus(code) || code == StatusNoContent {
server.go#L1468: } else if w.req.ProtoAtLeast(1, 1) {
server.go#L1500: if !w.req.ProtoAtLeast(1, 0) {
server.go#L1512: if w.req.ProtoAtLeast(1, 1) {
server.go#L1517: writeStatusLine(w.conn.bufw, w.req.ProtoAtLeast(1, 1), code, w.statusBuf[:])
server.go#L1672: if w.req.MultipartForm != nil {
server.go#L1673: w.req.MultipartForm.RemoveAll()
server.go#L1687: if w.req.Method != "HEAD" && w.contentLength != -1 && w.bodyAllowed() && w.contentLength != w.written {
server.go#L1706: body, ok := w.req.Body.(*body)
server.go#L1981: req := w.req
server.go#L2009: serverHandler{c.server}.ServeHTTP(w, w.req)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |